/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package config;

import java.util.HashMap;
import java.util.Map;

/**
 *
 * @author Salm
 */   
public class CFPrize implements JSONable
{
    private final Map<String, Object> prize = new HashMap();
    
    CFPrize() {}

    @Override
    public void deser(Map<String, Object> json) {
        if (json.containsKey("prize"))
        {
            prize.putAll((Map) json.get("prize"));
        }
        prize.putAll(json);
    }

    public Map<String, Object> get() {
        return prize;
    }
}
